// https://vuex.vuejs.org/en/actions.html

//提交改变后的状态
export default {
    registerUserData(context, param) {
        context.commit('registerUserData', param);
    },
    clearStateData(context) {
        context.commit('clearStateData');
    },
    resetTabMenu(context) {
        context.commit('resetTabMenu');
    },
    resetBlogData(context) {
        context.commit('resetBlogData');
    },
    toggleBlogTypeSelected(context) {
        context.commit("toggleBlogTypeSelected");
    },
    showLogin(context){
        context.commit("showLogin");
    },
    hideLogin(context){
        context.commit("hideLogin");
    },
    toggleBlogTagSelected(context) {
        context.commit("toggleBlogTagSelected");
    }

}
